import {api} from "../boot/axios.js";
const url = "/build";

const sendBuildInfo=async (query) => {
  let data = {
    "geometry": [query.lng, query.lat],
    "name": query.name,
  }
  let result = await api.post(url,data, {
    headers:{
      "Content-Type": "application/json",
      "Access-Control-Allow-Origin": "*",
    }
  })
  return result
}

export default sendBuildInfo;

